package com.yanqu.road.entity.enums;

public enum eHuntMessageType {

    HuntBoxShare( 0),             //狩猎宝箱分享
    HuntBoxOpen( 1),              //打开狩猎宝箱
    ;


    private int intValue;

    eHuntMessageType(int value) {
        intValue = value;
    }

    public int getValue() {
        return intValue;
    }

    public static eHuntMessageType forValue(int value) {
        for (eHuntMessageType type : eHuntMessageType.values()) {
            if (type.intValue == value) {
                return type;
            }
        }
        return null;
    }
}
